package models

import "time"

type CustomCategory struct {
	ID int `json:"id" gorm:"primary_key"`
	Name string `form:"name" json:"name"`
	Cover string `form:"cover" json:"cover"`
	ClassName string `form:"class_name" json:"class_name"`
	Type string `form:"type" json:"type"`
	IsEnabled int `json:"is_enabled"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (t *CustomCategory) TableName() string {
	return "personal_page_custom_categories"
}

